<%-------------------------------------------------------------------
 * 页面名称：peerInnerAccountModify.jsp
 * 功能描述：联系人->支付账户->修改
 * Action  : /page/myspace/peerInnerAccountModify.do
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
String path = request.getContextPath();
%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<script language="javascript">
	function dosubmit() {
		if (document.forms[0].remark.value.length>100) {
			alert("备注长度必须小于100！");
			return false;
		} 
	}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<form action="<%=path%>/page/myspace/peerInnerAccountModify.do"
				method="post" onsubmit="return dosubmit();">
				<input name="modifyId" type="hidden"
					value="<bean:write name='peerInnerAccount' property='id'/>" />
				<div class="titleinfo">
					修改支付账户
				</div>
				<div class="edit_pass">
					<table width="100%" border="0" align="center" cellpadding="5"
						cellspacing="1">
						<logic:equal name="peerInnerAccount"
							property="peerAccount.emStatus"
							value="<%=Constant.ACCOUNT_STATE_NORMAL%>">
							<tr>
								<td height="30" align="right">
									对方Email：
								</td>
								<td bgcolor="#FFFFFF">
									<label>
										<bean:write name='peerInnerAccount'
											property='peerAccount.email' />
									</label>
								</td>
							</tr>
						</logic:equal>
						<logic:equal name="peerInnerAccount"
							property="peerAccount.accountType"
							value="<%=Constant.ACCOUNT_TYPE_BUYER%>">
							<logic:equal name="peerInnerAccount"
								property="peerAccount.mobStatus"
								value="<%=Constant.ACCOUNT_STATE_NORMAL%>">
								<tr>
									<td height="30" align="right">
										对方手机：
									</td>
									<td bgcolor="#FFFFFF">
										<label>
											<bean:write name='peerInnerAccount'
												property='peerAccount.mobile' />
										</label>
									</td>
								</tr>
							</logic:equal>
						</logic:equal>
						<tr>
							<td height="30" align="right">
								对方姓名：
							</td>
							<td bgcolor="#FFFFFF">
								<label>
									<bean:write name='peerInnerAccount' property='peerAccount.name' />
								</label>
							</td>
						</tr>
						<tr>
							<td width="27%" height="30" align="right" valign="top">
								备注：
							</td>
							<td width="73%" bgcolor="#FFFFFF">
								<label>
									<textarea name="remark" cols="45" rows="5"
										style="border:1px solid #ccc;">
									<bean:write name='peerInnerAccount' property='remark' />
								</textarea>
									<br />
									<span class="font_gray">可选(100个字) </span>
								</label>
							</td>
						</tr>
						<tr>
							<td height="55" align="right" valign="top">
								&nbsp;
							</td>
							<td bgcolor="#FFFFFF">
								<input name="submit" type="submit" class="button_style"
									value="确 定" />

								<input name="return" type="button" class="button_style"
									onclick="location.href='<%=path%>/page/myspace/getPeerInnerAccountList.do';"
									value="返 回" />
							</td>
						</tr>
					</table>
				</div>
			</form>
		</div>
	</div>
</div>

